package com.sgolub.commanndsonline.service.ref.distinct;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sgolub.commanndsonline.dao.ref.distinct.RefDistinctRegionDAO;
import com.sgolub.commanndsonline.domain.ref.distinct.RefDistinctRegion;

@Service
public class RefDistinctLocalityServiceImpl implements RefDistinctRegionService {

	@Autowired
	private RefDistinctRegionDAO refDistinctRegionDAO;
	

	@Transactional
	public List<RefDistinctRegion> list() {
		return refDistinctRegionDAO.list();
	}

	@Transactional
	public List<RefDistinctRegion> match(String matchString){
		return refDistinctRegionDAO.match(matchString);
	}
	
}
